/*
	This file is part of the OdinMS Maple Story Server
    Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
		       Matthias Butz <matze@odinms.de>
		       Jan Christian Meyer <vimes@odinms.de>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation version 3 as published by
    the Free Software Foundation. You may not use, modify or distribute
    this program under any other version of the GNU Affero General Public
    License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
/*
 * @Name         KIN
 * @Author:      L337
 * @NPC:         9900001
 * @Purpose:     Tells the GM Rules
 */
function start() {
    cm.sendSimple("Welcome to the GM Rules do you want to see them!\r\n#L0##bYes#l\r\n#L1#No#l");
}

function action(mode, type, selection) {
if (mode < 1)
        cm.dispose();
    else {
        status++;
        if (status == 0) {
            if (selection == 1) {
			cm.sendNext("**General**#k\r\n Do not give out any GM Scrolled, Srcolled, GM items, or even Cash Shop items to players#k\r\n- Do not give out the GM Client to any Normal Players, or Donaters#k\r\n-Do not change the rates, only the server owners can do that with Permission of L337#k\r\n- Do not tell players the secret achievements#k\r\n- Do not give your internet friends or even any friends even best or close friends stuff without the permission of L337#k\r\n- Do not train players unless you have permission from L337.");
			cm.sendNextPrev("**Market/Trading**#k\r\n- Do not sell godly items or anything over powerd for like a dumb price, give it a reasonable price like the crystal ilbies a set of 1k for 200mill each set#k\r\n- do not trade any GM, NX. Mesos, or anything of that matter");
			cm.sendNextPrev("**Banning/Jailing/Disconnecting**#k\r\n- do not ban anyone that is being mean to you, being an ass, or just calling you names, this will get you banned.#k\r\n- Do not D/C GMs(D/Cs are now logged because of what happend in the past so be careful!)#k\r\n- Jailing a GM results with No GM");
			cm.sendNextPrev("**Summing and Spawning**#k\r\n- do not summon a Zakum where thereis noobs (like FM or Henesys)#k\r\n- do not summon ANY! bosses where there is noobs (again like FM and henesys)#k\r\n- you may not help a player level up by summoning stuff for them, if seen doing this you and the player will get D/Ced and Banned.");
			cm.sendNextPrev("**Events**#k\r\n- You may do an event anytime, can be about anything but giving out is restricted.#k\r\n- do not give out overly scrolled, Gm scrolled, or GM items to players as a prize#k\r\n- to annouce an event or even start one, Please do !event <event is about> and it will be shown as [Event] in Channel 1 and its for <event is about>.");
			cm.sendNextPrev("if you do not follow any of this, it will result in a Ban plus removal of GM or deranked (depending on how sevre it is), if you disagree there will be no way in hell you will ever be a GM in HoldenMs!");
			cm.dispose();
			}
		}
		else if (status == 1) {
			if (selection == 1) {
			cm.dispose();
			}
		}
 
}